﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GONES.IBLL;

public partial class Console_System_Role_RoleEdit : CPage
{
    public  string RoleId { get; set; }
    public  string RoleName { get; set; }
    public  string ReMark { get; set; }
    public  string HomeAddr { get; set; }

    public GONES.Model.S_Role role = new GONES.Model.S_Role();

    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            string id = Request.QueryString["id"].ToString();
            var roleManger = AppContext.GetObject("S_RoleManager") as IS_RoleManager;
            role = roleManger.Get(id);
            if (role != null)
            {
                RoleId = role.ID;
                RoleName = role.RoleName;
                ReMark = role.Remark;
            }
        }
        catch
        {
        }


    }
}